package com.river.springbootdemo.qrcode;

import org.apache.tomcat.util.http.fileupload.FileItem;
import org.springframework.web.multipart.MultipartFile;
import org.springframework.web.multipart.commons.CommonsMultipartFile;

import java.io.*;

public class testQRCode {
    public static void main(String[] args) throws Exception {
        ByteArrayOutputStream outputStream = new ByteArrayOutputStream();
        String qrCodeValue="dasdafsdjgdwogjr132132edmwqelsjda";
        QRCodeUtil.encode(qrCodeValue,outputStream);
        ByteArrayInputStream byteArrayInputStream = new ByteArrayInputStream( outputStream.toByteArray());

    }
}
